package com.boshanam.model.vos.domain.user;

import java.io.Serializable;
import java.util.Locale;

import com.boshanam.application.settings.ApplicationSettings;


/**
 * This Class has all the information about user preferences and settings.
 * An this is intended to use in business and View layers.
 * 
 * @author Sivakumar Y, 
 * UserSettingsVO.java Dec 25, 2009 1:28:25 AM
 * www.ibigbang.net
 * shiva.forums@gmail.com
 */
public class UserSettingsVO implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String ID;
	private String theme = ApplicationSettings.DEFAULT_THEME;
	private Locale locale;

	public void setLocale(Locale locale) {
		this.locale = locale;
	}

	/**
	 * 
	 */
	public UserSettingsVO() {
		super();
		// TODO Auto-generated constructor stub
	}

	/**
	 * @param id
	 * @param locale
	 */
	public UserSettingsVO(String id, String theme, Locale locale) {
		super();
		ID = id;
		this.theme = theme;
		this.locale = locale;
	}

	public Locale getLocale() {
		return locale;
	}

	public void setID(String iD) {
		ID = iD;
	}

	public String getID() {
		return ID;
	}

	public void setTheme(String theme) {
		this.theme = theme;
	}

	public String getTheme() {
		return theme;
	}
	

}
